﻿
using System.Collections.Generic;
using System;
using ALPackage;


namespace HYOK
{
    //玩家数据管理类
    public class Player
    { 
        private static Player _g_instance;
        public static Player instance
        {
            get
            {
                if (_g_instance == null)
                {
                    _g_instance = new Player();
                }
                return _g_instance;
            }
        }

        //游戏组件
        private GameComponent _m_gameCompoent;
        
        public Player()
        {
            _m_gameCompoent = new GameComponent();
        }

        public GameComponent gameCompoent { get { return _m_gameCompoent; } }



    }
}
